package com.realshare.frame;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class FrameWebApplication {


    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(FrameWebApplication.class);
        //禁止命令行设置参数
        app.setAddCommandLineProperties(false);
        //更改默认配置文件名，以便被依赖时达到给予默认属性、继承、覆盖等
        app.setAdditionalProfiles("service");
        app.run(args);
    }

}
